import { ConfigStateService } from '@abp/ng.core';
import { Component, inject } from '@angular/core';
import { Settings } from '../../models/settings';
import { AsyncPipe } from '@angular/common';

@Component({
  selector: 'app-logo',
  templateUrl: './logo.component.html',
  styleUrl: './logo.component.scss',
  standalone: true,
  imports: [AsyncPipe]
})
export class LogoComponent {
  private _stateService = inject(ConfigStateService);
  appTitle$ = this._stateService.getSetting$(Settings.AppTitle);
}
